#系统工作状态字典
class SystemState:
    Charge = 1
    DisCharge = 2
    Running = 3
    Idle = 4
    Error = -1
###数据采集类型
class MonitorType:
    CHARGE_STATE = 1,# 充电状态采集

    DISCHARGE_STATE = 2, #放电状态采集
    
    BATTERY_STATE = 3  #电池状态采集



#充电状态信息
class  ChargeInfo:
    CurState= 0
    Voltage = 0
    Current = 0
    Power = 0
    Energy =0
    TodayEnergy= 0
    TotalEnergy = 0
    def __init__(self):
        pass
#放电状态信息
class DisChargeInfo:
    CurState= 0
    Voltage = 0
    Current = 0
    Power = 0
    Energy =0
    TodayEnergy= 0
    TotalEnergy = 0
    def __init(self):
        pass
